home *** CD-ROM | disk | FTP | other *** search
Text File | 1997-06-28 | 415 b | 20 lines | [TEXT/CWIE] |
- // ConstArrangementLoop.cp
-
- #ifndef ConstArrangementLoop_h
- #include "ConstArrangementLoop.h"
- #endif
-
- ConstArrangementLoop::ConstArrangementLoop( const ArrangementBase& theArrangement )
- : arrangement( theArrangement ),
- index( 0 )
- {
- for ( ; Unfinished() && (*this)->IsEmpty(); index++ )
- ;
- }
-
- void ConstArrangementLoop::operator++()
- {
- for ( index++; Unfinished() && (*this)->IsEmpty(); index++ )
- ;
- }
-